package shopping.feign.call.configuration;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import feign.Logger;
import org.springframework.context.annotation.Bean;

public class ShoppingFeignConfiguration {
  @Bean
  public Logger.Level level() {
    return Logger.Level.FULL;
  }
  
  @Bean
  public IRule randomRule() {
    return new RandomRule();
  }
}
